projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05d39e4
)
Fix the return type of gdk_selection_property_get
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 3 Sep 2009 02:50:05 +0000
(22:50 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 3 Sep 2009 02:50:05 +0000
(22:50 -0400)
It returns the length of the property, not a boolean. Reported
in bug 593788.
gdk/gdkselection.h
patch
|
blob
|
history
diff --git
a/gdk/gdkselection.h
b/gdk/gdkselection.h
index 325c38321cbcd31e296676bfe816f6cb3e5af97d..1a96214425827a952b42c7f63c0a33f58e247a02 100644
(file)
--- a/
gdk/gdkselection.h
+++ b/
gdk/gdkselection.h
@@
-86,7
+86,7
@@
void gdk_selection_convert (GdkWindow *requestor,
GdkAtom selection,
GdkAtom target,
guint32 time_);
-g
boolean
gdk_selection_property_get (GdkWindow *requestor,
+g
int
gdk_selection_property_get (GdkWindow *requestor,
guchar **data,
GdkAtom *prop_type,
gint *prop_format);